Account Unbinding
Berfungsi melepas akun yang telah terbinding
Service Info
HTTP Method | POST |
---|---|
Service Code | 09 |
Http Method | POST |
Path | .../{version}/registration-account-unbinding |
Header
Header Name | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
Content-Type | String | Y | application/json |
Authorization | String | Y | Token B2B |
X-SIGNATURE | String | Y | Dibuat dengan algoritma asymmetric with token B2B : Signature Generation |
X-PARTNER-ID | String | Y | Client’s client_id (diberikan pada saat onboarding ) |
X-EXTERNAL-ID | String | Y | Nomor referensi yang harus unik pada hari yg sama |
CHANNEL-ID | String | Y | 00001 untuk PJP and 00002 untuk non PJP |
Body
Parameter | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
merchantId | String | Y | Kode unik yang dimiliki setiap user Length: <= 64 characters |
additionalInfo | Object | Y | Informasi tambahan |
phoneNo | String | Y | Nomor telepon pengguna Length: <= 14 characters |
Request samples
- JSON
- CURL
{
"merchantId": "121xxxx",
"additionalInfo": {
"phoneNo": "0812xxxxxxxxx"
}
}
curl --location --request POST '.../v1.0/registration-account-unbinding' \
--header 'X-TIMESTAMP: 2023-01-17T16:54:00+07:00' \
--header 'X-SIGNATURE: RwABEherf+3MTBhIf6vtju6ko+YOFFKWLGgHCD5RwX1I17JCKVn8ffc/TenEIly85InhuIcKCDqDrxbIBhaKEg==' \
--header 'X-PARTNER-ID: 085224a9-4b42-4f7d-959f-4452f8a9a1ff' \
--header 'X-EXTERNAL-ID: 499a8bce-8a08-46f4-a124-9a3aff84dfb0' \
--header 'CHANNEL-ID: 12345' \
--header 'Authorization: Bearer 59400db8-36f3-4c20-9e7b-1c3f4aa8f7c5' \
--header 'Content-Type: application/json' \
--data '{
"merchantId": "121xxxx",
"additionalInfo": {
"phoneNo": "0812xxxxxxxxx"
}
}'
Response Structure
Parameter | Tipe Data | Deskripsi |
---|---|---|
responseCode | String | Kode respons Length: <= 7 karakter |
responseMessage | String | Deskripsi respons Length: <= 150 karakter |
referenceNo | String | kode Referensi Length: <= 64 characters |
unlinkResult | String | Hasil proses pelepasan tautan Length: <= 64 karakter |
Response samples
{
"responseCode": "2000900",
"responseMessage": "Successful",
"referenceNo": "0000000000",
"unlinkResult": "Successfully Disactivated"
}
List Response Code Account Binding Inquiry
Response Code | Response Message | Description |
---|---|---|
2000900 | Success | Sukses |
4000901 | Invalid field format { field name } | Format invalid |
4000902 | Invalid mandatory field {field name} | Format pada bidang wajib tidak ada atau tidak valid |
4010900 | Unauthorized. Invalid Signature | X-Signature salah |
4090900 | Cannot use same X-EXTERNAL-ID in same day | X-External-ID sudah pernah digunakan di hari yang sama |
4040901 | Bad Request | Request header ada yang salah / kurang |
4040901 | Unauthorized. Client Forbidden Access API | Partner tidak dapat mengakses api terkait |